<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="com.hrms.pojo.Cj" import="java.util.List"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="css/style.css">
<title>查看奖惩信息</title>
<script type="text/javascript">
	function deleteConfirm() {
		return confirm("确认删除");
	}
</script>

</head>
<body>

	<body background="<%=request.getContextPath()%>/images/background.jpg">
	<center>
		<jsp:include page="../top.jsp" flush="true"></jsp:include>
		<table width="800" height="48" border="0" cellpadding="0"
			cellspacing="0"
			background="<%=request.getContextPath()%>/images/center1.jpg">
			<tr>
				<td valign="top">
					<table width="494">
						<tr>
							<td width="45" height="25">&nbsp;</td>
							<td width="437" valign="bottom"><a
								href="<%=request.getContextPath()%>/cj/cjLogin"><b>奖惩管理</b></a>&nbsp;&gt;
							 <font color="#FF0000"> 查看奖惩信息</font></td>
						</tr>
					</table>
					</td>
			</tr>
		</table>
		<table width="800" height="340" border="0" align="center"
			cellpadding="0" cellspacing="0"
			background="<%=request.getContextPath()%>/images/center2.jpg">
			<tr>
			<td><table width="700" border="1" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<th class="style4" height="28"><div align="center">编号</div></th>
			<th class="style4"><div align="center">奖惩标题</div></th>
			<th class="style4"><div align="center">奖惩类型</div></th>
			<th class="style4"><div align="center">奖惩时间</div></th>
			<th class="style4"><div align="center">操作</div></th>
		</tr>
		<%
				List<Cj> returnSeleteAllCj = (List<Cj>) request.getAttribute("returnSeleteAllCj");
				for (Cj key : returnSeleteAllCj) {
			%>
		<tr>
			<td><%=key.getCjId()%></td>
			<td><%=key.getCjTitle()%></td>
			<td><%=key.getCjType()%></td>
			<td><%=key.getCjTime()%></td>
			<td><a
				href="<%=request.getContextPath()%>/cj/selectByIdCj/<%=key.getCjId()%>">查询详细信息</a>
				<a
				href="<%=request.getContextPath()%>/cj/deleteCj/<%=key.getCjId()%>"
				onclick="return deleteConfirm()">删除培训</a> <br></td>
		</tr>
		<%
				}
			%>
	</table>
	</td>
	</tr>
	</table>

	<jsp:include page="../down.jsp" flush="true" />
	</center>
</body>


</html>